home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d13
/
pctv2n2.arc
/
BITMASK.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-11
|
790b
|
30 lines
//-------------------------------------------------------------//
// File: BitMask.Hpp //
// Desc: Definition of a Single-Plane Bitmap Class //
// Author: Marv Luse, Autumn Hill Software //
//-------------------------------------------------------------//
#ifndef _BITMASK_HPP_
#define _BITMASK_HPP_
//........ BitMask Class
class BitMask
{
protected:
int width; // width in pixels
int height; // height in pixels
int rowbytes; // bytes per row
char *mask; // pointer to bitmask
public:
BitMask( );
BitMask( int w, int h, char *m );
~BitMask( );
virtual void draw( int x, int y, int clr );
};
#endif